package com.huawei.bookborrowms.book.dao;

import com.huawei.bookborrowms.book.entity.BookEntity;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author 黄后林
 * @date 2022-11-10 17:08:21
 * @note 程序员是用代码喂出来的
 */
public interface BookDao {

    List<BookEntity> findAllBooks(@Param("bookType") String bookType , @Param("bookName") String bookName,@Param("isBorrow") String isBorrow , @Param("before") Integer before ,@Param("after") Integer after);

    int counterBook(@Param("bookType") String bookType , @Param("bookName") String bookName,@Param("isBorrow") String isBorrow);
}
